/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import java.util.Map;

/**
 * <p>Project: smvc2022 - User
 * <p>Powered by webrx On 2022-03-30 11:52:02
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Data @AllArgsConstructor @NoArgsConstructor
public class User {
    private int id;
    private String name;

    @JsonFormat(shape = JsonFormat.Shape.STRING,timezone = "GMT+08:00",pattern = "yyyy年MM月dd日")
    private LocalDate birth;
    private Date birthday;
    private LocalTime regtime;
    private LocalDateTime createtime;
    private Map<String,Object> map;
    private Teacher teacher;
}
